package distributed.lock.redis;

import java.util.concurrent.TimeUnit;

public interface RedisHandle {

    boolean setnx(String key, String value, long time,TimeUnit timeUnit);

    boolean comparAndDel(String key,String value);

}
